﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;

namespace Components
{
    public partial class CheckBox8 : CheckBox
    {
        public CheckBox8()
        {
            InitializeComponent();
            if (Checked)
                Image = Properties.Resources._1;
            else
                Image = Properties.Resources._2;
            Text = string.Empty;
        }

        void CheckBox8_Click(object sender, EventArgs e)
        {
           if (Checked)
               Image = Properties.Resources._1;
           else
               Image = Properties.Resources._2;
        }

        public CheckBox8(IContainer container)
        {
            container.Add(this);
            
            InitializeComponent();
        }



        
        
    }
}
